<div class="bjui-pageContent">
    <form action="{:U('save_class_article')}" data-callback="dialogFormCall" data-toggle="validate" data-alertmsg="false" class="dialogForm">
        <input type="hidden" name="id" value="{$va.id}"/>
        <div class="form-group">
            <label class="x100">分类名称:</label>
            <input type="text" name="name" data-rule="required" value="{$va.name}"/>
        </div>
        <div class="form-group">
            <label class="x100">上级分类:</label>
            <select name="parent_id" data-toggle="selectpicker">
                <option value="0">顶级分类</option>
                <volist name="res" id="vo">
                <option value="{$vo.id}">{$vo.name}</option>
                </volist>
            </select>
            <!-- <select name="" data-toggle="selectpicker" id="art_type2">
                <option value>--请选择--</option>
            </select> -->
        </div>
        <div class="form-group">
            <label class="x100">状态:</label>
            <input type="radio" name="status" value ="0" id="art_type_status1" data-toggle="icheck" data-label="显示"  <if condition="$va.status neq '1'">checked</if>  />
            <input type="radio" name="status" value="1" id="art_type_status2" data-toggle="icheck" data-label="不显示"  <if condition="$va.status eq '1'">checked</if> />
        </div>
         <div class="form-group">
            <label class="x100">是否在网站底部显示 :</label>
            <input type="radio" name="is_bottom" value="0" id="art-is_bottom1" data-toggle="icheck" data-label="显示"  <if condition="$va.is_bottom neq '1'">checked </if> />
            <input type="radio" name="is_bottom" value="1" id="art-is_bottom2" data-toggle="icheck" data-label="不显示"  <if condition="$va.is_bottom eq '1'">checked </if> />
        </div>
        <div class="form-group">
            <label class="x100">权重:</label>
            <input type="text" name="sort" value="{$va.sort}" data-toggle="spinner" data-min="0" data-step="1" data-rule="integer" class="w100"  />
        </div>
        <!-- <div class="form-group">
            <label class="x100">描述:</label>
            <textarea name="" class="w400"></textarea>
        </div> -->
    </form>
</div>
<include file="Common/footer" ftype="save" />